package com.hmkj.core.po.system;

import com.hmkj.common.baseMapper.GenericPo;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.Date;
import java.util.function.Consumer;


/**
 * 系统配置的银行列表实体信息<br>
 *
 * @author donfy
 * @date   2017-08-15 08:55:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "系统配置的银行列表")
@Table(name = "s_bank")
public class Bank extends GenericPo<Integer> {

    public static final String TABLE_NAME = "s_bank";

	
	/**排序**/
	@ApiModelProperty(value = "排序")
	private Integer sortNo;
	/**银行名称**/
	@ApiModelProperty(value = "银行名称")
	private String name;
	/**内部编码-唯一的不会变的。**/
	@ApiModelProperty(value = "内部编码-唯一的不会变的。")
	private String insideCode;
	/**图标保存地址**/
	@ApiModelProperty(value = "图标保存地址")
	private String icon;
	/**审核备注**/
	@ApiModelProperty(value = "审核备注")
	private String remark;

    public Bank(){}

    public Bank(Consumer<Bank> consumer){
    consumer.accept(this);
    }
}

